class CreateJobs < ActiveRecord::Migration
  def self.up
    create_table :jobs do |t|
      t.integer :user_id
      t.string :formula
      t.text :mol_file
      t.text :ms_file
      t.string :algorithm
      t.integer :rr
      t.integer :cuts
      t.float :diff
      t.float :intensity
      t.boolean :isomorphism
      t.boolean :lp

      t.timestamps
    end
  end

  def self.down
    drop_table :jobs
  end
end
